package com.dingding.facde.activity.dto.commonactivity;

import java.io.Serializable;

import com.dingding.common.core.util.paravalidate.CanNull;

/**
 * @Description:活动注册的请求bean
 * @author fengshuonan
 * @date 2016年9月20日 下午4:57:47
 * @version 叮叮搭车
 * @since 2.4
 */
@SuppressWarnings("serial")
public class ReqRegFromActivity implements Serializable{

	@CanNull
	private String openId;			//公众号的openId
	private String telephone;		//电话号码
	private String phoneCode;		//电话号码验证码
	private String graphCode;		//图形验证码
	private String shareKey;		//用户发起活动分享的唯一标识
	private String activityId;		//活动id
	
	public ReqRegFromActivity(String openId, String telephone, String phoneCode, String graphCode, String shareKey,
			String activityId) {
		super();
		this.openId = openId;
		this.telephone = telephone;
		this.phoneCode = phoneCode;
		this.graphCode = graphCode;
		this.shareKey = shareKey;
		this.activityId = activityId;
	}

	public ReqRegFromActivity(String openId, String telephone, String phoneCode, String graphCode, String shareKey) {
		super();
		this.openId = openId;
		this.telephone = telephone;
		this.phoneCode = phoneCode;
		this.graphCode = graphCode;
		this.shareKey = shareKey;
	}
	
	public ReqRegFromActivity(String telephone, String phoneCode, String graphCode, String shareKey) {
		super();
		this.telephone = telephone;
		this.phoneCode = phoneCode;
		this.graphCode = graphCode;
		this.shareKey = shareKey;
	}



	public String getTelephone() {
		return telephone;
	}
	public void setTelephone(String telephone) {
		this.telephone = telephone;
	}
	public String getPhoneCode() {
		return phoneCode;
	}
	public void setPhoneCode(String phoneCode) {
		this.phoneCode = phoneCode;
	}
	public String getGraphCode() {
		return graphCode;
	}
	public void setGraphCode(String graphCode) {
		this.graphCode = graphCode;
	}
	public String getShareKey() {
		return shareKey;
	}
	public void setShareKey(String shareKey) {
		this.shareKey = shareKey;
	}
	public String getOpenId() {
		return openId;
	}
	public void setOpenId(String openId) {
		this.openId = openId;
	}

	public String getActivityId() {
		return activityId;
	}

	public void setActivityId(String activityId) {
		this.activityId = activityId;
	}
	
}
